package com.robot.member.pojo.vo;

import java.io.Serializable;

/**
 * @author wuyunbin
 */
public class Authorization implements Serializable {

    private String memberId;
    private String openId;
    private String nickname;
    private String role;
    private String token;

    public String getMemberId() {
        return memberId;
    }

    public void setMemberId(String memberId) {
        this.memberId = memberId;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Authorization(String memberId, String role, String token) {
        this.memberId = memberId;
        this.role = role;
        this.token = token;
    }

    public Authorization(String memberId, String openId, String role, String token) {
        this.memberId = memberId;
        this.openId = openId;
        this.role = role;
        this.token = token;
    }

    public Authorization(String memberId, String openId, String nickname, String role, String token) {
        this.memberId = memberId;
        this.openId = openId;
        this.nickname = nickname;
        this.role = role;
        this.token = token;
    }

    @Override
    public String toString() {
        return "Authorization{" +
                "memberId='" + memberId + '\'' +
                ", openId='" + openId + '\'' +
                ", nickname='" + nickname + '\'' +
                ", role='" + role + '\'' +
                ", token='" + token + '\'' +
                '}';
    }
}
